package service;

import java.sql.Timestamp;
import java.util.List;

import entity.tArea;
import entity.tDevice;
import entity.PageBean;

public interface tDeviceService {
	public void add(tDevice tdevice);
	
	public PageBean searchById(String deviceId,int pageSize,int page);
	
	public List<tDevice> searchById(String deviceId);
	
	public List<tDevice> searchBymac(String mac);
	
	public List<tDevice> search();
	
	public PageBean searchBydeviceNo(String searchvalue,int pageSize,int page);
	
	public List<tDevice> searchdeviceNo(String deviceNo);
	
	public List<tDevice> searchByuserName(String searchvalue);
	
	public PageBean searchBytDeviceArea(String searchvalue,int pageSize,int page);
	
	public PageBean  searchAlltDevice(int pageSize,int page);
	
	public void update(tDevice tdevice);
	
	public void dalete();
	
	public PageBean searchByIndustry(String industry,int pageSize,int page);
	
	public PageBean seatchdeviceNamevalue(String values,int pageSize,int page);
	
	public List<tDevice> seatchdeviceNovalue(String values);
	
	public long getCount();
	
	public PageBean searchBytArea(String tAreaId,int pageSize,int page);

}
